const { DataTypes, Model, Deferrable } = require("sequelize");
const sequelize = require("../../sequelize");
/**
 * 运输模型
 */
class Express extends Model {

};
Express.init({
    id:{
        type:DataTypes.INTEGER,
        primaryKey: true,
        autoIncrement: true
    },
    name:{
        type:DataTypes.STRING
    },
    type:{
        type:DataTypes.TINYINT(1),
        defaultValue:0
    },
    order:{
        type:DataTypes.INTEGER
    }
}, {
    timestamps:false,
    sequelize,
    modelName: "Express",
    tableName: "express",
})
module.exports = Express